﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.MaHaiBo.Entity
{
    /// <summary>
    /// 用户与角色表
    /// </summary>
    [Table("UserRole")]
   public class UserRole
    {
        /// <summary>
        /// 用户与角色编号
        /// </summary>
        [Key]
        public int URid { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public int Rid { get; set; }

        /// <summary>
        /// 删除标记 false 
        /// </summary>
        public bool deleteFlag { get; set; } = false;
    }
}
